//
//  XFSegmentControl.h
//  FreeTime
//
//  Created by 王江华 on 16/9/12.
//  Copyright © 2016年 SRDZ.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XFSegmentControl : UIView


@property(nonatomic,strong)NSArray *titiles;

@property(nonatomic,strong)UIColor *currentColor;
@property(nonatomic,strong)UIColor *otherColor;


@property(nonatomic,strong)UIColor *currentTextColor;
@property(nonatomic,strong)UIColor *otherTextColor;



@property(nonatomic,strong)UIFont *currentFont;
@property(nonatomic,strong)UIFont *otherFont;

@property(nonatomic,strong)UIColor *borderColor;

@property(nonatomic)NSUInteger currentIndex;



@property(nonatomic,copy)void(^segmentBlock)(NSUInteger index);

@property(nonatomic,strong)NSArray *images;




@end
